package com.jizhi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jizhi.entity.Doctor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 罗兆良
 * @since 2020-11-14
 */
public interface DoctorService extends IService<Doctor> {
    /**
     * 添加医生信息
     */
    int insert(Doctor doctor);

    /**
     * 查询全部医生信息并分页
     */
    List<Doctor> selectPage(Page page);

}
